print("==================================for in list===========================================")
list = [1, 2, 3, 4, 5]
sum = 0
for item in list:
    sum += item
    print(f"当前元素{item} 和是{sum}")

print("==================================for in range(stop)===========================================")
for item in range(3):
    print(f"当前元素值：{item}")

print("==================================for in range(start, stop)===========================================")
for item in range(0, 5):
    print(f"当前元素值：{item}")

print("==================================for in range(start, stop, step)===========================================")
for item in range(0, 5, 2):
    print(f"当前元素值：{item}")
